#define layout()
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>我的奖品</title>
    <link rel="stylesheet" href="../wx/choujianng/award_guajiang1/css/style.css">
</head>
<body>
    <div class="seeAwardList">
    	     #for(x:partyPrizeRecords)
	        <div class="awards">
            <p class="name">#(x.prize_name)</p>
            <p class="limit">#(x.remark)</p>
            </div>
	    #end
        <!--<div class="awards">
            <p class="name">50 元优惠券</p>
            <p class="limit">满200元可用</p>
        </div>-->
    </div>
    <footer></footer>
</body>
<script src="../wx/choujianng/award_guajiang1/js/jquery-1.8.3.min.js"></script>
<script>
    $(window).load(function () {
        $.ajax({
            type: 'GET',
            url: '....../wx/choujianng/award_guajiang1///////', // 获取奖品名称
            success: function (e) {

                var list = [
                    {name: '50 元优惠券', limit: '满200元可用' },
                    {name: '50 元优惠券', limit: '满200元可用' },
                    {name: '50 元优惠券', limit: '满200元可用' },
                    {name: '50 元优惠券', limit: '满200元可用' }
                ];

                var listContent = '';

                for(var i = 0; i < list.length; i++){
                    listContent += '<div class="awards">' +
                                        '<p class="name">'+ list[i].name +'</p>' +
                                        '<p class="limit">'+ list[i].limit +'</p>' +
                                '</div>'
                }
                
                $('.seeAwardList').html(listContent);
                
            }
        })
    })
</script>
</html>
#end
#@layout()